package com.example.saiaadmin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.saiaadmin.entry.EbSystemMenu;
import com.example.saiaadmin.mapper.EbSystemMenuMapper;
import com.example.saiaadmin.service.EbSystemMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 菜单信息表Service实现类
 *
 *  @author  Vagrant
 * @since 2025/01/13
 */
@Service
public class EbSystemMenuServiceImpl extends ServiceImpl<EbSystemMenuMapper, EbSystemMenu> implements EbSystemMenuService {

    @Autowired
    private EbSystemMenuMapper mapper;
    @Override
    public List<EbSystemMenu> listMenu(EbSystemMenu ebSystemMenu) {
        return mapper.selectMenuEntityByRole(ebSystemMenu);
    }
}
